<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<form id="channelForm" class="form-horizontal" role="form">
	<input type="hidden" name="channel.id" value="${channel.id }">
	<input type="hidden" name="channel.pid" value="${channel.pid }">
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right"> 父频道 </label>

		<div class="col-sm-9">
			<input type="text" id="pname" class="col-xs-10 col-sm-5" disabled value="${channel.parent.name }">
		</div>
	</div>
	
	<div class="space-4"></div>
	
	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right"> 频道名 </label>

		<div class="col-sm-9">
			<input type="text" name="channel.name" class="col-xs-10 col-sm-5" value="${channel.name }">
		</div>
	</div>

	<div class="space-4"></div>

	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right"> 注释 </label>

		<div class="col-sm-9">
			<input type="text" name="channel.title" class="col-xs-10 col-sm-5" value="${channel.title }">
		</div>
	</div>

	<div class="space-4"></div>

	<div class="form-group">
		<label class="col-sm-3 control-label no-padding-right"> 排序号 </label>

		<div class="col-sm-9">
			<input type="text" name="channel.orderby" class="col-xs-10 col-sm-5" value="${channel.orderby }">
		</div>
	</div>

	<div class="space-4"></div>

	<div class="clearfix form-actions">
		<div class="col-md-offset-3 col-md-9">
			<button class="btn btn-info" type="button" onclick="saveChannel()">
				<i class="icon-ok bigger-110"></i>
				保存
			</button>
		</div>
	</div>

	<!-- <div class="hr hr-24"></div> -->
</form>